package com.reformer.commons.constant;

/**
 * 正则表达式
 *
 * @author sdc
 */
public class RegExp {
    /**
     * 车牌，新能源车牌7位
     */
//    public static final String LICENSE_PLATENO = "[\u4e00-\u9fa5][A-Z][A-Z0-9]{4,5}[A-Z0-9空警学]";
    public static final String LICENSE_PLATENO = ".{5,}";
    public static final String CN_CHAR = "[\u4e00-\u9fa5]";
    public static final String PHONE = "1[345789]\\d{9}";
    public static final String IPV4 = "\\d{1,3}(\\.\\d{1,3}){3}";
    public static final String EMAIL = "(\\w|-)+(\\.\\w+|-)*@(\\w)+((\\.\\w{2,3}){1,3})";
    public static final String NICKNAME = "[\u0000-\uffff]{1,15}";
    public static final String TXN_PASSWORD = "\\d{6}";
}
